<?php
/**
 * Table Definition for user
 */
require_once 'DB/DataObject.php';

class DataObjects_User extends FRM_DataObject 
{
    ###START_AUTOCODE
    /* the code below is auto generated do not remove the above tag */

    public $__table = 'user';                            // table name
    public $_database = 'garage';                            // database name (used with database_{*} config)
    public $id;                              // double()  
    public $is_controller;                   // tinyint(1)  
    public $email;                           // varchar(765)  
    public $password;                        // varchar(765)  
    public $first_name;                      // varchar(765)  
    public $last_name;                       // varchar(765)  
    public $activation_code;                 // varchar(765)  
    public $salt_value;                      // varchar(300)  
    public $last_login_date;                 // datetime()  
    public $is_disabled;                     // tinyint(1)  
    public $id_branch;                       // double()  
    public $address;                         // varchar(768)  
    public $telephone;                       // varchar(33)  
    public $cellphone;                       // varchar(33)  
    public $skill;                           // varchar(1536)  
    public $salary;                          // double()  
    public $sex;                             // varchar(3)  
    public $birthday;                        // date()  
    public $level;                           // varchar(768)  
    public $code;                            // varchar(30)  
    public $roles;                           // varchar(300)  

    /* Static get */
    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('DataObjects_User',$k,$v); }

    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE
}
